package com.educate.studentmanagementsystem.pojo.vo;


import java.util.List;

public class SchoolClassVO {
    private Integer classId;
    private String name;
    private String grade;
    private List<StudentVO> studentVOList;

    public SchoolClassVO() {
    }

    public SchoolClassVO(Integer classId, String name, String grade, List<StudentVO> studentVOList) {
        this.classId = classId;
        this.name = name;
        this.grade = grade;
        this.studentVOList = studentVOList;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public List<StudentVO> getStudentVOList() {
        return studentVOList;
    }

    public void setStudentList(List<StudentVO> studentVOList) {
        this.studentVOList = studentVOList;
    }

    @Override
    public String toString() {
        return "SchoolClassVO{" +
                "classId=" + classId +
                ", name='" + name + '\'' +
                ", grade='" + grade + '\'' +
                ", studentList=" + studentVOList +
                '}';
    }
}
